<{extends file="BaseHtml.tpl.html"}> 
<{block name=content}>
<!-- <div class="span12">
	<div class="row-fluid">
	</div>
</div> -->
<div class="hero-unit margin10" style="margin:0;padding:20px 50px;">
  <h1><span class="label_name">活动图片</span></h1>
  <h4 class="label_date margin5tb">请先发布活动后,再到这里哟! ^-^</h4>
  <div class="btn-group navgroup margin5tb">
  <button class="btn btn-info" id="dialog_open" disabled="disabled"><i class="icon-upload i_href"></i>上传活动图片</button>
  <a class="btn btn-info" onclick="showphoto()"><i class="icon-plus-sign-alt i_href"></i>更多活动照片</a>
  <a class="btn btn-info label_wall" href="#"><i class="icon-th i_href"></i>进入照片墙</a>
  </div>
  <form action="<{$smarty.const.WEB_PATH}>my/photowall" id="form1" method="post" style="display: none" target="_blank">
    <input type="text" id="eid" name="eid" value="1"/>
    <input type="submit" id="submitform" />
  </form>
</div>
<div class="container">
<div class="gallery_list"></div>
</div>
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog"
    aria-labelledby="myModalLabel" aria-hidden="true" style="width:600px;">
    <form id="form1">
    <input type="reset" style="display:none;" /> 
    <div class="modal-header">
        <button type="button" class="close canceldialog" 
            aria-hidden="true"  onclick="">×</button>
        <h3 id="myModalLabel">添加活动图片</h3>
    </div>
    <div class="modal-body">
           <div id="swfdiv">
               <div class="uploadDialog">
                   <form id="form1" action="" method="post" enctype="multipart/form-data" class="">
                       <div class="uploadList">
                           <div class="fieldset flash" id="fsUploadProgress">
                               <span class="legend">上传</span>
                           </div>
                           <div class="up_btn" style="">
                               <span id="spanButtonPlaceHolder"></span>
                               <input class="btn btn-small" id="btnCancel" type="button" value="取消上传" onclick="swfu.cancelQueue();"/> 
                               <lable id="divStatus">0 个文件已上传</lable>
                           </div>
                           <div class="margin10" style="color:#777">批量上传活动图片</div>
                       </div>
                   </form>
               </div>
           </div> 
    </div>
    <div class="modal-footer">
        <span class="label label-info left dialogmsg"></span>
        <a class="btn canceldialog" aria-hidden="true">返回</a>
    </div>
    </form>
</div>
<{/block}>
<{block name=body_end}>
<script type="text/javascript">
var site = {web:"<{$smarty.const.WEB_PATH}>",title:"<{$default}>",uid:"<{$user.id}>",ssid:"<{php}>echo session_id();<{/php}>"};
</script>
<script src="<{$smarty.const.WEB_PATH}>js/swfupload/swfupload.js" type="text/javascript"></script>
<script src="<{$smarty.const.WEB_PATH}>js/swfupload/swfupload.queue.js" type="text/javascript"></script>
<script src="<{$smarty.const.WEB_PATH}>js/swfupload/fileprogress.js" type="text/javascript"></script>
<script src="<{$smarty.const.WEB_PATH}>js/swfupload/handlers.js" type="text/javascript"></script>
<script type="text/javascript" src="<{$smarty.const.WEB_PATH}>js/common/util.js"></script>
<script type="text/javascript" src="<{$smarty.const.WEB_PATH}>js/my/gallerys.js"></script>
<{/block}>